<template>
  <div class="app-container">
    <el-tabs v-model="activeTab">
      <el-tab-pane label="故障信息表" name="FaultTable">
        <fault-table
          v-if="activeTab === 'FaultTable'"
        />
      </el-tab-pane>
      <el-tab-pane label="故障分布总览" name="faultLocationOne">
        <fault-location
          v-if="activeTab === 'faultLocationOne'"
        />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import FaultLocation from '@/views/fault_analysis/components/FaultLocation'
import FaultTable from '@/views/fault_analysis/components/FaultTable'

export default {
  components: { FaultTable, FaultLocation },
  data() {
    return {
      activeTab: 'FaultTable'
    }
  },
  methods: {}
}
</script>

<style>

</style>
